package org.yang.novel.wx.entity;

import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;
/**
 * 章节
 * @author shichenyang
 * @email gyv12345@163.com
 * @date 2019/01/07
 */
@Data
@Builder
public class Page implements Serializable {

        private static final long serialVersionUID = 775041769305957897L;
        /**
         * 
         */
        private Long id;
        /**
         * 对应小说
         */
        private Integer infoId;
        /**
         * 章节名称
         */
        private String name;
        /**
         * 章节字数
         */
        private Integer count;
        /**
         * 发布时间
         */
        @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
        private Date showTime;
        /**
         * 章节内容
         */
        private String content;
}
